import { createStore } from 'vuex'
import { AllStateTypes } from './types'
import permissionModule from './modules/permission'
import user from './modules/user'
import storeModule from './modules/storeData'

export const store = createStore<AllStateTypes>({
  modules: {
    user,
    permissionModule,
    storeModule,
  },
})
